﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MobileAPI.BLL
{
    public sealed class BLLFactory
    {
        private static BLLFactory instance;
        public static BLLFactory getInstance()
        {
           if (instance == null)
            {
              instance = new BLLFactory();
            }
            return instance;
        }

        public BLLLogin CreateLoginBLL()
        {
            return new BLLLogin();
        }

        public BLLRepairsInfo CreateRepairsInfoBLL()
        {
            return new BLLRepairsInfo();
        }
        public BLLCustomerInfo CreateCustomerInfoBLL()
        {
            return new BLLCustomerInfo();
        }

        public BLLWorkOrder CreateWorkOrder()
        {
            return new BLLWorkOrder();
        }
        public BLLRepairsState CreateRepairsStateBLL()
        {
            return new BLLRepairsState();
        }
    }
}
